//
//  TCharacter.m
//  Thanatos
//
//  Created by Joel Owens on 5/4/10.
//  Copyright 2010 Na'Shenassi.org. All rights reserved.
//

#import "ThCharacter.h"


@implementation ThCharacter


- (NSString *)raceClassDescription {
  return @"Race, Class, Level";
}




///// IKImageBrowser Data Item Methods
- (NSImage *)imageRepresentation {
  return [NSImage imageNamed:@"half-elf"];
}

- (id)imageRepresentationType {
  return IKImageBrowserNSImageRepresentationType;
}

- (NSString *)imageTitle {
  return [self name];
}

- (NSString *)imageUID {
  return [[[self objectID] URIRepresentation] description];
}

- (NSUInteger)imageVersion {
  return (NSUInteger)0; 
}



/////  Key Value Coding Methods

+ (NSSet *)keyPathsForValuesAffectingRaceClassDescription {
  return [NSSet setWithObjects:@"race.name", @"class.name", nil];
}


@end
